using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Castle.Core.Logging;

using Redboil.Bfp.Core;

namespace Redboil.Bfp.Webform {
    public partial class Test : System.Web.UI.Page {

        #region

        private Container container;
        private ILoggerFactory logFactory;
        private ILogger logger;

        #endregion

        protected void Page_Load(object sender, EventArgs e) {
            container = Container.Instance;
            //container.Kernel.AddFacility<LoggingFacility>(f => f.LogUsing(LoggerImplementation.Log4net).WithConfig("Log4net.config"));
            //container.Kernel.AddComponent<MyTestComponent>();
            //container.Kernel.Register(Component.For<ITestService>());
        }

        protected void Button1_Click(object sender, EventArgs e) {
            //logFactory = container.Resolve<ILoggerFactory>();
            //logger = logFactory.Create(GetType());
            //logger.Debug("Null shipment returned");

            //test4GeneService.LoggingTest();
        }
    }
}